package com.basic.modules.nykf.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.basic.modules.nykf.dao.RenewBatchDao;
import com.basic.modules.nykf.entity.RenewBatchEntity;
import com.basic.modules.nykf.service.RenewBatchService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class RenewBatchServiceImpl extends ServiceImpl<RenewBatchDao, RenewBatchEntity> implements RenewBatchService {

    @Autowired
    RenewBatchDao renewBatchDao;

    @Override
    public RenewBatchEntity getPreviousPeriodData(String batchId, Long dxfCustomerShopBusinessId) {
        return renewBatchDao.getPreviousPeriodData(batchId, dxfCustomerShopBusinessId);
    }
}